package com.liaobowen.service.impl;

import com.liaobowen.bean.User;
import com.liaobowen.mapper.UserMapper;
import com.liaobowen.service.UserService;
import com.liaobowen.util.MyBatisUtil;

import java.util.List;

public class UserServiceImpl implements UserService {
    @Override
    public List getUserList(User user) {
        UserMapper userMapper = MyBatisUtil.getObjectMapper(UserMapper.class);
        return userMapper.getUserList(user);
    }
}
